
package com.kuang.demo.bean.acgBeanVo;

import lombok.Data;

import java.util.List;


/**
 * @author ACG
 * @date 2020-11-02 10:34
 */
@Data
public class BaseData<T> {
    List<T> items;
    long total;

    public static <T> BaseData data(List<T> items, long total){
        BaseData baseData = new BaseData();
        baseData.setItems(items);
        baseData.setTotal(total);
        return baseData;
    }
}




